#define  _CRT_SECURE_NO_WARNINGS
#include "AVLTree.hpp"

int main()
{
	int a[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	AVLTree<int, int> t;
	for (auto num : a)
	{
		t.Insert({ num, num });
		t.InOrder();

	}
	std::cout << t.IsBalance() << std::endl;
	return 0;
}